import com.project.CinemaMain;
import com.project.service.ITicketService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest(classes = CinemaMain.class)
public class test {
    @Autowired
    private ITicketService ticketService;
    @Test
    public void test(){
        System.out.println(ticketService.getTicketByStatus("新上市"));
    }
}
